package review.Day_0411;

/**
 * @author zxc
 * @date 2023/04/11 22:22
 **/
// 二叉树的数据结构定义
public class TreeNode{
    int val;
    TreeNode leftNode;
    TreeNode rightNode;
    public TreeNode(){};
    public TreeNode(int val){
        this.val = val;
    }
    public TreeNode(int val , TreeNode leftNode , TreeNode rightNode){
        this.val = val;
        this.leftNode = leftNode;
        this.rightNode = rightNode;
    }
}
